package com.hxs.hxsserver.mapper.user;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxs.hxsserver.domain.dto.user.QueryUserListDTO;
import com.hxs.hxsserver.domain.entity.user.User;
import com.hxs.hxsserver.domain.vo.UserVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.math.BigDecimal;
import java.util.List;

@Repository
public interface UserMapper extends BaseMapper<User> {


    IPage<UserVO> getUserList(@Param("page") Page<UserVO> page, @Param("queryUserListDTO")QueryUserListDTO queryUserListDTO,@Param("userId")Integer userId);

    List<UserVO> getUserListByAlarm(@Param("userId")Integer userId);
}
